package com.budwk.app.sqfwDoc.models;

import com.budwk.starter.common.openapi.annotation.ApiModel;
import lombok.Data;
import lombok.experimental.Accessors;
import org.nutz.dao.entity.annotation.*;

import java.util.Date;

/**
 * @author ZY.Wang
 * @since 2023/12/11
 */
@Data
@Accessors(chain = true)
@Table("shequ.sqfw_template_vis_dict")
@Comment("回显字段")
@ApiModel(description = "回显字段")
public class SqfwTemplateVisDict {

    @Column("id")
    @ColDefine(type = ColType.VARCHAR, width = 255)
    @Name
    //@PrevInsert(uu32 = true)
    private String id;

    @Column("vis_dict_name")
    @ColDefine(type = ColType.VARCHAR, width = 255)
    private String visDictName;

    @Column("parent_id")
    @ColDefine(type = ColType.VARCHAR, width = 255)
    private String parentId;    // 父级id

    @Column("template_dict_id")
    @ColDefine(type = ColType.VARCHAR, width = 255)
    private String templateDictId;

    @Column("template_dict_config_id")
    @ColDefine(type = ColType.VARCHAR, width = 255)
    private String templateDictConfigId;

    @Column("create_by")
    @ColDefine(type = ColType.VARCHAR, width = 255)
    private String createBy;

    @Column("create_time")
    @ColDefine(type = ColType.DATETIME)
    private Date createTime;

    @Column("update_by")
    @ColDefine(type = ColType.VARCHAR, width = 255)
    private String updateBy;

    @Column("update_time")
    @ColDefine(type = ColType.DATE)
    private Date updateTime;

    @Column("mark")
    @ColDefine(type = ColType.VARCHAR, width = 255)
    private String mark;
}
